package com.video.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.video.dto.CommentDTO;
import com.video.entity.Comments;
import com.video.result.ResultVO;

import java.util.List;


/**
 * (Comments)表服务接口
 *
 * @author makejava
 * @since 2022-12-14 21:02:15
 */
public interface CommentsService extends IService<Comments> {

    List<Comments> getCommentsByVlogId(Long id);

    Long countVlogComments(Long vlogId);

    ResultVO deleteComment(CommentDTO commentDTO);

    ResultVO addComment(Long userId, Long vlogId,String content);

    ResultVO likeComment(Long userId, Long commentId);
}

